fixes search for library

the instance method #search is not available outside of the recipe so we have to
leverage the actual class to accomplish search