Add algorithms.