Fix url import. Fixes #2089.