Improve compatibility warnings.