Added zlib functionality