Remove unnecessary configurations.