Fix method definition