Use the enum value of the attributes when removing them from the attributes builder.