fixup! Obsolete TreeEntry.Type and TreeEntryDefinition.Type