Makes it so attribute_was now references the enum value and not the integer value