Removes cruft.