Added closures/functions support.