Introduced enum for oc and attributes