Add better documentation for global variables