Remove useless settings.