Add terminal states to TKStateMachine.