Use AbstractAttribute instead of Attribute