A cleaner version of search.