Nit: Suggest using `typeof url === 'undefined'`?