Removing global state.