Added search to API.