Moved document_separator to visitor