Fix an issue of the compatibility of the configurations.

Because XStream won't call the constructors on deserialization,
the default values should be set on both instantiation and
deserialization.