-- Added main template.