Fix cane warnings.