Replace 'mapping' with 'global_attributes' in one more place.