Splitting related work into Lua and Non-Lua