Added some Lua methods