Restore gzip method