Made the event uses the automatic enum converter.