Move static methods from URIImpl to URIs.

Change-Id: I0b84442dea9cc257dc06fb583c804a0b5e5a149a