public static JoeTree newTree(OutlinerDocument document) {
		// JoeTree currently implemented by TreeContext
		if (document == null) {
			return new TreeContext();
		} else {
			return new TreeContext(document);
		}
	}