Remove all uses of `~str`