Add boilerplate to templates.