Simplify flags