Creates functional macros using taxtree