Perhaps attributes could also be accepted on the flags themselves to allow documenting each variant?