Is the need to set the Config solely to get the threshold at which to compress? Can we pass that value through during serialization instead?