Add support for local URL.