Fixing some templates for controls.