An implantable device is provided. The device is constructed from an open body containing electronic components, a heat-sensitive component, and a sealing component. The device is formed in a moisture controlled environment, such that the heat-sensitive component is attached to the open enclosure after the enclosure has been heated. The sealing component is subsequently affixed to the open enclosure to form a sealed enclosure.