Optional simplified Attribute constructor.