Add subscribing to events