Providing a way for clients to adapt to URI.class too (and not only IResource), to support external files.