Introduced ispublic flag to the document entity.