Made virtual destructor.