Write flags out when serializing.