Completed search functionality.