CMS-2537 Introduce TemplateKey for Template