Fixed missing function.