Added support for function calls.