Customized flag is handled correctly.