Added extension to templates.