Move static methods from URIImpl to URIs.

Change-Id: I7a02c719cdaf20f49dc871a82f7df2f8962762dc