Removes unneeded configs