Is `getNewState()` here actually returning the state that has just been set, rather than `ContentState.New`? It's a pretty confusing name to use for a method that can return a `ContentState` that is not `ContentState.New`. We should change it to something like `getUpdatedState()` to avoid confusion.