Construction of nitrogen-containing heterocycles by C-H bond functionalization.