Actually configure optimizer.