Remove use of deprecated get_mut_ref