Added check for #rollback method.