Updated the document model and tests for is private