Remove unnecessary transmute() calls, prefer "as" instead