Minor corrections to template.