Remove old AlgorithmBase class.
Replace AlgorithmBase.