Basic infrastructure for API without queries.