Extract scope compression
Merge pull request #4 from consulate/scope-compression

Extract scope compression