void notifyListeners(Object created, Page modified) {
        for (TreeModelListener l : modelListeners) {
            if (created != null) {
                TreeModelEvent e = null;
                if (created instanceof Name) {
                    e = new TreeModelEvent(this, ((Name)created).getPath());
                } else if (created instanceof Page) {
                    e = new TreeModelEvent(this, ((Page)created).getPath());
                } else {
                    throw new NotImplementedException();
                }

                l.treeNodesInserted(e);
                //l.treeStructureChanged(new TreeModelEvent(this, new TreePath(root)));
            }
        }
    }