Minor code cleaning up.

Using the metatable option (which isn't by default), also set the newindex metamethod to point to the index table.  This should stop duplicating elements into the main table that are really in the metatable.