Get rid of typedef for enum declaration.