Cleaning obsolete settings.