Remove duplicate method definition