Replaced parent by document_parent