Implemented rollback command.