I think you can just delete history and freeze transformations after applying transforms and before changing attributes.