extracting macros out config initializer