Fixed Lua bindings.