A little ArrayRef'ization.