Working on an 'less manual' Lua registering system