Remove duplicate method.
Remove unused line.