Remove a pointless cast.