Sets attributes from the shared instances.

def _set_shared_instances(self):
        """Sets attributes from the shared instances."""
        self.inqueue = self.em.get_inqueue()
        self.outqueue = self.em.get_outqueue()
        self.namespace = self.em.get_namespace()