Make destructor virtual as we added a virtual method.