Move static methods from URIImpl to URIs.

Change-Id: I7f574f80e222dc9bc5544072cfa82e6454460b51