Add array reference support