Get rid of unnecessary pointer casts.