Revert "flags"

This reverts commit e466d2bed219fb8c4e4bd51f123067dd22b28f2d.