Added actions to convert to/from HasFlag call.