Fix warnings about missing override.