Maybe make this a partial class, with all the Lua-specific bits in their own file?