support importing macros