adding Consumable#handle_payload to make defining a handler a bit easier