Re-made StreamCompressor public. Unfortunately the createDeferred method was hiding this class from the client code. When createDeferred was made private, client needs StreamCompressor