Made reactant assignment and equality testing configurable.