Correct some warnings.