Use the enum value of the attributes when adding them to the attributes builder.