Add event_source_encoder