Remove references to the VM