Added support for valueless attributes.