@classmethod
def from_kwargs(cls, **kwargs):
    """This factory for :class:`Model` only takes keywork arguments.
        Each key and value pair that represents a field in the :class:`Model` is
        set on the new :class:`Model` instance.

        """
    instance = cls()
    instance.set_data(kwargs)
    return instance
