Changing emitted message to event.