Move static methods from URIImpl to URIs.

Change-Id: I8fd7c6a7138834fcc249b9e087246aaf100429ae