First stab at clustering framework.