@classmethod
def _recursiveVars(cls, klass):
    """Call vars recursively on base classes"""
    fields = dict()
    for basecls in klass.__bases__:
        fields.update(cls._recursiveVars(basecls))
    fields.update(dict(vars(klass)))
    return fields
