Export getUri (fixes #7)