Made the Transform a spring managed resource.