Correct the method names, this can lead to wrong java docs