Used extractor to convert event type to string.