Fix up globals.