Add string method for URI helper.