Simplify the generator.