Frame frame = new Frame(this, PROTOTYPE, uid, values); synchronized (prototypes) { prototypes.put(kind, frame); } addFrame(frame); if (bbs != null) bbs.publishAdd(frame); return frame;
return makePrototype(kind, parent, values, uid);
    public Frame makePrototype(String kind, Properties values)    {	UID uid = uids.nextUID();	Frame frame = new Frame(this, PROTOTYPE, uid, values);	synchronized (prototypes) { prototypes.put(kind, frame); }	addFrame(frame);	if (bbs != null) bbs.publishAdd(frame);	return frame;    }