Added document-based attachment methods