pass `index` attribute down to adapter. closes #3