XE-1432: The class sheet does not display existing instances of the class if there is no template or sheet defined for this class objects
[misc] Fix deprecated calls