Extract input from generator methods.