limit InitFlagFoo patterns to an appropriate type