Revert "Allow document to be fetch"

This reverts commit fbce6c7fef7f29f2b09f28e116e764c851179f7e.