docs: def notification_message(cls, item):
          '''Convert an RPCRequest item to a message.'''
          assert isinstance(item, Notification)
          return cls.encode_payload(cls.request_payload(item, None))