add SerializationStyle enum.