Removed extraneous reference to logger in new generator.