Support for transformers >= 0.4.1.0.