Added optimizer.