Changed one setcontext call to setmetatable call.