These fields do absolutely nothing when declared at the class level.
I see 2 potential solutions and a 3rd that should be done regardless;
They should probably work (especially the flag) at the class level
Should be in a different annotation to alleviate confusion
Needs to be documented so it doesn't leave people stranded for hours/days (such as myself).