Generalizing the frequency/color based finder.