Complete ref-array
Merge pull request #1301 from loyd/patch-1

Complete ref-array