Some enhancements to the transform method
Merge remote-tracking branch 'origin/master'