Remove unused method parameters.