Handle possible warnings.