Using the new coreGL function everywhere in Core.