Add state of the guest
Fix argument of the open method