Preliminary transformation framework (WIP).
Merge from origin.