An extension of Tietze's theorem.