Implemented rollback.