The method that is being shared, rename to getKeyRanges.