Fix a bunch of -Winconsistent-missing-override warnings.