Fix ocaml ref.