#5 GatherInputSamples is now private.