Localized setmetatable for increased minification