Modify state.