Add optimize to config.