Add virtual destructor to derived class