Used `java.net.URI` instead of `java.net.URL`.