Store metatable in local to prevent excess table creation