added a reflectTemplate macro.