Typecasting is fine when it's not a symptom of Mary Sue-ing.