Increment revision.
Add setting flag.