documentation of the methods 'storeAllFlags', 'changeCurrentFlags', 'restoreAllFlags'.