Fix deprecation warning re: urls.defaults

Thanks, Fred Palmer (https://github.com/fredpalmer)