Removes unnecessary cruft