Document attachment creation and deletion.