Removed setOptimizationMethod()