Fix missing virtual destructors.