Could this be a Scala Enumeration instead? Extending from scala.Enumeration?