Move syntax macros from core to macros project.