Allow to disable custom flag handling