Add support for inplace transformations