Move static methods from URIImpl to URIs.

Change-Id: Iff1084e17bbf8349650b90fbc841594b1ca0f6fa