ENH: Changed output transform type to AffineTransform.