Support url as alias for uri. Closes #12