Add auto compression mode.