adding and removing predefinedAttrs