Galileo's orbital tour of Jupiter was carefully planned well in advance to obtain data in close passes of Io, Europa, Ganymede and Callisto. Once the Prime Mission tour objectives were met, several extentions to the tour were funded.
Source: NASA Solar System Exploration - Galileo Legacy Site