Fix overloaded-virtual warnings.