Add AbstractDocument::state and AbstractDocument::progress properties.