Get rid of a bunch of warnings.