Add class PendingOperations.