End pieces held in contact by a magnet