Adding bounds checking for slot-ref/set!.