Enum: Use index type consistently.