The old logic should be fine if we change `getDocument(FieldName.CONTENT)` to `get(FieldName.CONTENT)`.