Refactor calls to deprecated function Content::getNativeData()