createTemplateURI method added