Removes redundant parameters.