Enumerating the instances of a sealed trait.