Reactions involving the carbon--nitrogen bond: heterocyclic compounds.