Fixed delete bug, polymorphism not working quite as expected - Truncation of objects (casting to entity pointer, loss of type)