This behavior adds a finite state machine to your model.