Added support to algorithms.