Remove superfluous string casts