Cleaning code in SearchResults class