Added finer grained control over referencing arrays.