Lua corpse API