Remove obsolete settings.