Fix deprecated parameter.