added TemplatesFuncs and TemplateFunc methods
"Use" instead of "AddMiddleware"