added the ability to use URIs that are relative to the root