Implemented range operator.