Implemented support for lz4 and future snappy