Refactoring of SearchResult.