Tool for generating a generator.