Alias string and runStyle to CharStyle type.