Implement Document::cut