Put scopes into lambda literals.