Adds support for deflate, deflateRaw, and inflate versions.