Modified getDocumentTree to don't use depth parameter. Bugfixed getDocument breadcrumb problem.