Support setting attributes.