We have no hope of extending lua_State to add more data to it, because that object may be created by Lua itself, for instance within a coroutine, and it has no knowledge of our version of the object.