This type and logic only exists for the OCaml side. As we move more code to the Rust side, we hope to be able to remove this code in the future.