Renamed LearningAlgorithm to LearningMethod.