Cleanup config.