Get rid of `function` field from struct coro_t