New interface for flags