Support selecting compression level.