Refactored Lua API
Lua Image userdata type skeleton