Apparatus configured for implantation in a body of a subject is provided. The apparatus includes a support substrate, and at least 500 electrodes protruding at least 50 um from the support substrate, each electrode having (a) a distal tip, (b) an electrically-exposed tip portion, and (c) a cross-section of 50-1500 um2, 20 um from the distal tip. Other embodiments are also described.