Cleaning up the configuration.