Added more utility functions. Cleaned up cluster summarizer.