Separate compressor class for read-only access