Document index argument correctly in addItems documentation

Change-Id: Ief00fb63018d49e47c6337609dc6e9d9782ddc42
Merge "Document index argument correctly in addItems documentation"