Removing global state machine and executor.