`ret` is undefined here.