Add missing function stubs