* connectedState need not be public.