edit document to use unsetContent() method.