Added support for directly call macros defined in the same template