Add missing function declaration