Convert uses of transmute which don't need it