[minor] Correct methods prototypes

Correct methods prototypes