Fix `fetch` callback calling conventions