Add state machine to training plan.