Allow custom compression algorithm