Created a generator.