Add missing function close.