Adding support of SortedSet and SortedMap interfaces.