Removed the URL module since we can already get the pathname from this.path