Split the Document class