Add a class HasDynFlags(getDynFlags)