Maintaining Consistency In Collaboration Over Hierarchical Documents