Added destroyAllMacroInTree()