Fix bad type-hint scope assumption