Added revert operation.