docs: function(mediator, resultClient) {
  
      //If there is already a set of subscribers set up, then don't subscribe again.
      if (resultSubscribers) {
        return resultSubscribers;
      }
  
      resultSubscribers = new MediatorTopicUtility(mediator);
      resultSubscribers.prefix(CONSTANTS.TOPIC_PREFIX).entity(CONSTANTS.RESULT_ENTITY_NAME);
  
      //Setting up subscribers to the result topics.
      _.each(CONSTANTS.TOPICS, function(topicName) {
        if (topicHandlers[topicName]) {
          resultSubscribers.on(topicName, topicHandlers[topicName](resultSubscribers, resultClient));
        }
      });
  
      return resultSubscribers;
    }