Get global and namespace events working