Add support for search endpoint