Merging in changes from bugfix-1.30 (adds set_compress_enable).