Add separate functions for querying DynFlag and ExtensionFlag options