Start template outputting.