Implement function calls.