Now passes all tests for flags.