Make TypeableAlgorithm inherit from Algorithm