Added allEntries and allGroups to MPDocument as adapter to KPKTree calls