Refactored ITransform to abstract Transformer class.