Add missing function.