Use RARRAY_* macro instead of accessing RArray field.