Better way to express the flag constants