Replaced missing function calls.