Implement Hash for Url.