Extract EventSource and EventSink interfaces