Why is a transmute necessary here?