Working out how lua_var and lua_value interact.