Make atom_add collection-safe.