Remove duplicate method declaration.