Change unsafe_ref (depreciated) to unsafe_load.