Remove duplicate method definition.