Added global dependancies to anon function arguments