#106. Fixed the way that polymorphic entities are resolved within a
class tree.
Fixed delete method to archive.