Add search functionality for annotations.