Moving public flag from integer to boolean