Consts.TYPE_INT is no longer a function.  Use Consts.type2str().