Implemented a wrapper class for searches.