Fix to Bag Factory.