How about changing the deprecation message into *"This entry will be removed in the next release as it is not a valid TreeEntryTargetType."*?