Casts to [NamedValues] enums are now treated as casts to string (#214)