Remove obsolete configs.