Add a missing function