Added more functions to the LUAAPI