Add the missing function.