Added support for tail calls.