Language changes: CString::with_ref() is deprecated