A method is provided, including physically contacting a gastric implantation site of a stomach via a transluminal approach, physically contacting the site via a transabdominal approach, stabilizing the site, and implanting an electrode at the site based on the physical contact provided by the transluminal and transabdominal approach. Other embodiments are also described.