Updated events so the cart instance is passed into events as well.