Fix deprecation warning in urls
1.0.1