CategoryRepository exception for protocols without features