'pull the asides out of the xml payload and instantiate them'

def parse_asides(self, node, def_id, usage_id, id_generator):

    aside_children = []
    for child in node.iterchildren():
        xblock_family = child.attrib.pop('xblock-family', None)
        if xblock_family:
            xblock_family = self._family_id_to_superclass(xblock_family)
            if issubclass(xblock_family, XBlockAside):
                aside_children.append(child)
    for child in aside_children:
        self._aside_from_xml(child, def_id, usage_id, id_generator)
        node.remove(child)
    return aside_children
