Added AlgorithmExtend.