Changed getTemplateName for template