public function process(PricingSetInterface $pricingSet, $context = null)
    {
        //Temporary hack to assure valueElement exists (when loaded from persistence)
        $rp = new \ReflectionProperty($pricingSet, 'valueElement');
        $rp->setAccessible(true);

        if (null == $rp->getValue($pricingSet)) {
            $rp->setValue($pricingSet, new TotalDoughValueElement());
        }
        $rp->setAccessible(false);

        //Process the pricing set and inject the context
        $newPricingSet = $pricingSet->process($context);

        return $newPricingSet;
    }