lua_Reader has been changed from a function pointer to a abstract class