Added getDiffRanges