Simplify `onContentChanged`