Remove redundant parameters.