Remove some unneeded parameters.