@classmethod
def mk_kwargs(cls, kwargs):
    """
        Pop recognized arguments from a keyword list.
        """
    ret = {}
    kws = ['row_factory', 'body', 'parent']
    for k in kws:
        if k in kwargs:
            ret[k] = kwargs.pop(k)
    return ret
