Untested changes to cart controller.