Optimize Transformer to reuse TransformerListener instances