Fixed bug in RawTemplateInjector regarding TemplateNamer