added getter for TemplateType