Actually use index in typevar __init__.