Use a Set for storing void element names.