BuildGlobalContext should be final