some more fixes in Algorithm methods declarations