Classes Index and ReferenceKind has been removed. All uses were replaced
with int.