Use requireNonNull instead of nonNull (bug)
Be robust to UnsupportedMessageType exceptions.