Add common interface for transformations.
Simplify python bindings.