Fixes missing `listeners` assignment in EventSource.