Adding scaffolding for compilation of globals