Added the main template.