Adds commit to state machine feature to leader.