An implantable device has an outer shell that includes an aperture through the housing of the device and, spanning the aperture, a membrane structure permeable to gas but not to liquid. In this way, excess gas may be vented from the device. The membrane and aperture are designed to discourage or even prevent tissue ingrowth.