Add options to enable compression a set compression level.