Add enum for ClassInfoFlags.

Commit provided by Trass3r.