Added a method to overwrite the transformation.