Described embodiments include apparatus for use with a catheter. The apparatus includes a sheath configured for insertion into a body of a subject, and a sensor, coupled to the sheath, configured to detect an electric current passing through the catheter, when the catheter passes through the sheath and into the body of the subject. Other embodiments are also described.