Cleanup configuration.