Internal API for accessing data-collection tables