just a little inconvenient when used with: for k, v in pairs(obj) do … endthe keys in the realobj will be ignored. It's a known issue:Why don't pairs() and ipairs() obey an __index metamethodhttp://lua-users.org/lists/lua-l/2007-09/msg00374.html