Fixing missing function end.