Minor fixes to the template.