EventSource should be public.