Define Transformation and TransformationChain classes.