Apparently SetTemplate isn't a WoW API function.