Flags: static helper functions