Added destructor to the compressor plugin