Inheriting flags from dependent modules.