Replace Cart with self.model in CartManager

This makes CartManager work correctly when used with a proxy of Cart.