MessagePort is defined elsewhere