@classmethod
def insert(cls, **kwargs):
    """ Insert in the table of the model::

            MyModel.insert(...)

        is equal at::

            mymodel = MyModel(...)
            MyModel.registry.session.add(mymodel)
            MyModel.registry.flush()

        """
    instance = cls(**kwargs)
    cls.registry.add(instance)
    cls.registry.flush()
    return instance
