Adds a class to each found element.
Attach to just once per element.