Support for ranges