Fix enum declaration