Cleaning up configuration.