'Create a new set of stanzas for the provided
JID and node combination.
Arguments:
jid  -- The JID that will own the new stanzas.
node -- The node that will own the new stanzas.'

def add_node(self, jid=None, node=None, ifrom=None):

    with self.lock:
        if (jid is None):
            jid = self.xmpp.boundjid.full
        if (node is None):
            node = ''
        if (ifrom is None):
            ifrom = ''
        if isinstance(ifrom, JID):
            ifrom = ifrom.full
        if ((jid, node, ifrom) not in self.nodes):
            self.nodes[(jid, node, ifrom)] = {'info': DiscoInfo(), 'items': DiscoItems()}
            self.nodes[(jid, node, ifrom)]['info']['node'] = node
            self.nodes[(jid, node, ifrom)]['items']['node'] = node
