Fixes minor details in template.