Added missing function documentation