Macro based Generator.