Fixes NPEs when displaying an instance of an unknown type.
Adds the ability to display types that are no longer associated with Java classes for backward compatibility.