Fix shadowing of v parameter.