replace TransformerFactory with TransformerRegistry