Accept optional attribute name.