Implement search_tasks.