Removed need for DoAndIfThenElse language extension.