This conversation explains a bit about why __index only returns one value and offers a few alternatives: http://lua-users.org/lists/lua-l/2007-07/msg00177.html