Add configurable compression