Map qclass from ret correctly to Lua