DocumentsResource fix