Clean up a bunch of compiler warnings.