Uri to url

Fixes #3