The better way is to never have those features in your pipeline already.

truly, but you seldom have full control over the input of that pipeline