SE-169: common category functionality to be shared between queue and indexer-minion.