Fix up formatting and docblocks for globals.