Add the minimum support for Closures passed to task() as the second argument. Next step - auto-resolving