Marked the global fields as thread global.