support scopes with arguments using lambda as last argument in scope descriptor