Adding support for snappy.