document Lua globals from library