Added search functionality to the libraries.