Add much of the remaining functionality for search results.