Adapt according to coq/coq#7536.
Adapt according to rocq-prover/rocq#7536.