Move static methods from URIImpl to URIs.

Change-Id: If5f421ff8065069111dd62d63f81e7fac72815b2