Add Transition.patterns
Replace Transition.tokens, Transition.sequences
Replace Transition.patterns, Transition.pattern