Store metatable in local to prevent unnecessary table creation