Removing unused method and duplicated route