Add object type id for ws_transaction type

Closes #244
You have to do a `self->args.num--` here.