Improve backward compatibility with OCaml.