Refactor summaries views