Lua backend: Added class struct generation