Clean up configuration.