Finishing off the addGlobal method in the Page class.