Add the capsule primitive.