Strip out unwanted stuff