Just have a local function in URIUtils (i.e. where you need it) for now.