Resolve method in TemplateService has been made virtual