Moved methods to collective.cart.core.