Would there be a way to maybe expose it as an API so you have only the search part and not the rendering?