Fix method declaration.