I have the same comment about this function as I have about addAlgorithm()