LuaInterface adapted to work with KopiLua