Fix Attribute enum usage