Remove unused parameters.