Remove unused variables from the settings.