Creates attribute instances in the generator.