remove use of char as an number in the API.  SWIG gets confused.