extension support for flags