Added debug location for argument mismatch.