Added zlib compression to SBD.