Implemented basic support for function calls.