Removed dependency of optimizers.