Fix method declaration