Enhanced documentation of the Lua API.