removed manual Lua wrapper in preparation for SWIG