Add support for output compression.