Refactoring CollectionStatsTreeItem