Move static methods from URIImpl to URIs.

Change-Id: Ia6ad2d224fb3d01c69101f001ec143e6a4d0b081