Remove all non-cyclic substituents from both nitrogen atoms.