Added transformation support (closes #1).