Rename _dwim_add_transform to _dwim_prepend_transform and add proper _dwim_add_transform function