Add simple class flags
Switch variable flags from list to bitmap