Updated to match new name for inputTypes.
Deal with char's and factors better.