Only the basic return values are supported. The follow-up PRs will re-use the shared code from the ExecutionContext and introduce Frame in BiDi.