}
    private void addObject(UniqueObject object) {	if (log.isInfoEnabled())	    log.info("Adding  " +object);	synchronized (kb) {	    kb.put(object.getUID(), object);	}	if (object instanceof DataFrame) {	    synchronized (frames) {		frames.add((DataFrame) object);	    }	    if (object instanceof RelationFrame) {		synchronized (relation_lock) {		    cacheRelation((RelationFrame) object);		}			    } else {		// Any new DataFrame could potentially resolve as yet		// unfilled values in relations.		synchronized (relation_lock) {		    Iterator<RelationFrame> itr = pending_relations.iterator();		    while (itr.hasNext()) {			boolean success = cacheRelation(itr.next());			if (success) itr.remove();		    }		}	    }	}    }