Added to_zip function.