Refactor destructuring transformations.