buildAttributes allow setting {} or [] means defaults