- Added virtual destructors to base classes polymorphism is used with.