remove unused deprecated getTemplateName