Remove some transmute calls.