Remove unneeded warnings.