Fix global synchronizer enumeration

Before this change it contained just a lot of "undefined"s.