Moved cluster summarization code into core/.