Add ListAlgorithm base class.