Clean up config.