Added relevant algorithms.