Adds rollback method.