Added rollback (untested yet).