Add InitFlag and make the flags non-polymorphic