make urlhelper mock friendly.