Updated the generator to the new model.
Changed generator to comply with ExtensionGroups being objects.