constructor changes in machineimpl and virtualmachineimpl