Remove to_i conversion from argument pass in VisitLinkMethods