Avoid creating objects (Attribute) when it is not necessary