Better handling of virtual destructors.