Remove extraneous settings.