Making UrlHelper's methods virtual

/cc: @rynowak @yishaigalatzer 
Is the difference here what code is invoking the UrlHelper? Not sure it's important.