Added the ability to explicitely opt-out from optimization.