Made a simple lua_ref handler