Actually use the Range class instead of freeform objects.