Added a generic base template.