Delete obsolete styles and templates.