Refactoring (lua-bindings)