Minor changes to Cart class.
Cart class beanified.