Implement Location.hash.