tweaked up the Optimizer and Optimizers APIs.