In a generic aspect, an apparatus for delivering attachment devices includes a needle defining a lumen and a distal opening, and a plurality of attachment devices disposed within the lumen of the needle. Each attachment device includes a first attachment part, a second attachment part, and a connecting member coupled to the first attachment part and the second attachment part. The apparatus further includes an actuator configured to drive each attachment device out of the distal opening of the needle during a surgical procedure.