Allowing querying by shift.