Added the ability to change protected $compression.