Adding virtual destructors.