Added KopiLua compatibility layer