Sets the object's default compression type