Removes unneeded parameters.