Extracted BasketProcessing class.