#16 included rankedById and rankedByHits switch in RestManager