Fix warnings about overloaded virtual functions.