Fix casting expressions.