Remove reference to global's type