@classmethod
def fromOpenIDArgs(cls, openid_args):
    """Construct a Message from a parsed KVForm message.

        @raises InvalidOpenIDNamespace: if openid.ns is not in
            L{Message.allowed_openid_namespaces}
        """
    self = cls()
    self._fromOpenIDArgs(openid_args)
    return self
