Handle scala.Enumeration values.