This needs to be more robust in future versions. Perhaps a `message.type` property is required. Routing by a convention such as channel key will not be very reliable.