Refactoring: Constructor injection for CategoryRankers