Add search functionality.