Complete generator structure.

@jython234, your show time.