New (internal) API for listing all labels.