Change: move use_compression argument to the latest position.
domain_id needs to be used by default as optional. Conservative approach to avoid compatibility issues.