Document open methods return the document (again).
Examples should now cause the application to resave the document in all cases.