code: public void add(Object entity, String name) {
  		Result result = new Result(entity, name);
  		results.add(result);
  	}
docs: Add a new entity to an extraction collection.
  
  @param entity the entity to add.
  @param name   the name of the collection where this entity should be put.