Added in a newer version of Optimization.