Added IsDeactivated and CanEdit to Document