Added missing 'virtual' for some class dtors.