Remove unnecessary settings.