Reordered arguments to match order of transform composition. Improved documentation.