Could you pass in `vm` itself rather than `vm.identity` to save a lookup?