There are a variety of ways decorators can be removed from a SMIRKS pattern. The second step, after choosing an atom or bond, is to chose which category of removal type will be performed. The three category types are a) removal of an untagged atom that has only one neighbor, b) changes to decorators and'd to the end of an atom or bond, and c) changes to or'd together decorators.