TemplateService implemented