Adds global and broadcasted event emitting