Changes type() execution parameter to TransitionType, rather than using its
ordinal value. This means that TransitionType is now part of the runtime.
Regenerates all descriptors to adjust for type() being changed to an enum.
All examples can be generated from one class, GenerateExamples.