Stuff for the HoN Lua API.