Remove extra parameters.