'Add an item to a JID/node combination.
The data parameter may include:
ijid  -- The JID for the item.
inode -- Optional additional information to reference
non-addressable items.
name  -- Optional human readable name for the item.'

def add_item(self, jid, node, ifrom, data):

    with self.lock:
        self.add_node(jid, node)
        self.get_node(jid, node)['items'].add_item(data.get('ijid', ''), node=data.get('inode', ''), name=data.get('name', ''))
