Better documentation of flag handling.