add scope to all private APIs