Cleaning up config.