Rename `offset` field of the Package structure to the `index` one