[Qrosp] Fix API compatibility.