Change the term TemplateObject to ITemplateObject