Fixing small problem with generic coroutines