Added SetFlag for short ints.
Moved num embedded out of object's flags into it's own short int field.