Added compression option.