Remove a bunch of warnings.