Add missing "next" upvalue