Use the uri method internal to the Datastream class