Lua script to extend C++ classes exposed via lua-intf