Starting to simplify Lua internals.