def __init__(self, name, children=None, **kwargs):
    if ((not children) and self.Multi):
        default = kwargs.pop('default', None)
        (children, Type) = self.Multi
        children = tuple(((Type((name + child), default=default[index], **kwargs) if default else Type((name + child), **kwargs)) for (index, child) in enumerate(children)))
        self['children'] = children
    else:
        self['children'] = children
    super(Compound, self).__init__(name, **kwargs)
def __init__(self, name, children=None, **kwargs):
    if ((not children) and self.Multi):
        default = kwargs.pop('default', None)
        (children, Type) = self.Multi
        children = tuple(((Type((name + child), default=default[index], **kwargs) if default else Type((name + child), **kwargs)) for (index, child) in enumerate(children)))
        self['children'] = children
    else:
        self['children'] = children
    super(Compound, self).__init__(name, **kwargs)