Renamed 'attributes' to 'global' (kept attributes for legacy reasons)