Add some changes to templates.