Added API boilerplate for search.