Remove unused settings from config files