Move GenSectorCache to SectorCache and make SectorCache internals private.