ENG-4290 Fix missing virtual destructors.