Added IsPublished property to the document