Added compression support