See especially the handling of closures.