First stab at connected components.