Fixed slight issue with change in way autogenerator works.