Document consistency model