Added `return` and recursive `$ifelsedo` cases.