Fixed missing function references.