Pass index into computed array callbacks
Merge pull request #5069 from aceofspades/patch-1

Pass index into computed array callbacks