Some initial stuff, began documenting the Lua API.