Move core macros into separate terp.macros namespace