Update comments for documents of resource-encapsulation