Changed the generator to generate constants for either dynamic

attributes or searchable only fields