Added fix for GZip changes to API