Fix tail calls.