Further progress on enums.

Don't emit the JAVA flag: This has caused damage without benefit.