Add uri method to allow markFailed and others to work