Make URI structures reference-counted.