public synchronized Object getRoot() {
		if (!opened) {
			throw new StorageError(StorageError.STORAGE_NOT_OPENED);
		}

		int rootOid = header.root[1 - currIndex].rootObject;
		return (rootOid == 0) ? null : lookupObject(rootOid, null);
	}