Added a simple weighted summarization.