Prepare code for adding more search methods