Added missing function(){} wrapper