Add in caching of search and record data.