Implement Location.search.