Actually create the template.