Added scopes to `listKeysAndValues`