Cleaning up most warnings.