Add __newindex to Lua tables