Clear up -Woverloaded-virtual warnings.