Static factory methods for generic URIs. Closes #2.