Where relevant, replaced `model` in documentation for `state`.