Add clearing frames. Add templates for controls.