Fixing _ENV to include setmetatable, type, and require